<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{dede:field name='typeid' runphp='yes'}
		global $dsql;
		$typeid = @me;
		$query = "SELECT topid, content FROM dede_arctype where id = $typeid";
		$rs = $dsql->GetOne($query);
		$cur_id = $rs['topid'];
		
		if(0 == $cur_id){
			$web_title = $rs['content'];
		} else {
			$query = "SELECT content FROM dede_arctype where id = $cur_id";
			$rs = $dsql->GetOne($query);
			$web_title = $rs['content'];
		}
		
		@me = trim(html2text($web_title));
		{/dede:field} - {dede:global.cfg_webname/}</title>
<meta name="description" content="{dede:global.cfg_description/}" />
<meta name="keywords" content="{dede:global.cfg_keywords/}" />
<link href="{dede:global.cfg_templets_skin/}/res/base.css" rel="stylesheet" media="screen" type="text/css" />
<link href="{dede:global.cfg_templets_skin/}/res/main.css" rel="stylesheet" media="screen" type="text/css" />
<script type="text/javascript" src="http://lib.sinaapp.com/js/jquery/1.5.2/jquery.min.js"></script>
</head>
<body>
<div id="main"> {dede:include filename="m__head.htm"/}
  <!-- <div class="location">您现在的位置： <a href="/st71654/">首页</a>&gt;<a href="/st71654/Product.html" id="CurrLocation">产品展示</a></div> -->
  <div style="margin:12px auto 0;" class="box">
    {dede:include filename="m__left.htm"/}
    <div class="boxright">
      <div style="border-bottom: 0;" class="introtitle pricetop">
        <h3>产品展示</h3>
        <b>Product</b>
        <form target="_self" action="product.html" method="post">
          <input type="text" name="Keyword" id="Keyword111" onblur="if(jq.trim(jq(this).val())=='')jq(this).val()='请输入产品名称...'" onfocus="if(jq.trim(jq(this).val())=='请输入产品名称...')jq(this).val('');" value="请输入产品名称...">
          <button onclick="submit()">搜索</button>
        </form>
      </div>
      <div style="display:none" class="filter">
        <ul class="filtertop">
          <li><a class="all" href="#">全部</a></li>
          <li class="hot">
            <p><a href="#">质量仪器产品</a></p>
            <b><a></a></b></li>
          <li>
            <p><a href="#">环境监测仪器</a></p>
            <b><a></a></b></li>
          <li>
            <p><a href="#">水质分析仪器</a></p>
            <b><a></a></b></li>
        </ul>
        <ul class="filterbot">
          <li><a href="#">推拉力计</a></li>
          <li><a href="#">测试机台</a></li>
          <li><a href="#">硬度力计</a></li>
          <li><a href="#">高速环块摩擦试验机</a></li>
        </ul>
        <ul class="filtertop">
          <li>
            <p><a href="#">辐射测量仪器</a></p>
            <b><a></a></b></li>
          <li>
            <p><a href="#">职业卫生检测仪</a></p>
            <b><a></a></b></li>
          <li>
            <p><a href="#">实验室器材</a></p>
            <b><a></a></b></li>
        </ul>
      </div>
      <div class="pricebox">
        <table class="pricelist">
          <tbody>
            <tr>
              <th width="123" class="productimg">产品图片</th>
              <th width="368">产品名称</th>
              <th width="85">在线留言</th>
              <th width="93">发布时间</th>
            </tr>
		{dede:php}
		$thisid = $refObj->Fields['id'];
		$query = "SELECT * FROM dede_arctype where id = $thisid";
		$rs = $dsql->GetOne($query);
		$topid = $rs['topid'];

		if(0 == $topid) {
			$topid = $rs['id'];
		} 
		
		$query = "SELECT content FROM dede_arctype where topid = $topid and typename = '联系QQ'";
		$rs = $dsql->GetOne($query);
		$content = trim(html2text($rs['content']));
		$GLOBALS['qq_str'] = "<a class='enquiry' href='tencent://message/?uin=$content&amp;Menu=yes' ref='nofollow' target='blank'>QQ联系</a>";
		{/dede:php}        
{dede:list pagesize='20'}
			<tr>
              <td valign="middle" align="center"><table class="psmallimg">
                  <tbody>
                    <tr>
                      <td valign="middle" height="80" align="center"><a title="[field:title/]" target="_blank" href="[field:arcurl/]"><img width="100" border="0" onload="100&lt;=this.width?this.width=100:this.width;100&lt;=this.height?this.height=100:this.height" alt="[field:title/]" src="[field:litpic/]" /></a></td>
                    </tr>
                  </tbody>
                </table></td>
              <td class="productname"><a title="[field:title/]" target="_blank" href="[field:arcurl/]">[field:title/]</a></td>
              <td>[field:global runphp='yes']
              @me = $GLOBALS['qq_str'];
              [/field:global]</td>
              <td>[field:pubdate function="strftime('%Y/%m/%d %H:%M:%S',@me)"/]</td>
            </tr>                   
{/dede:list}             
          </tbody>
        </table>
        <div class="pages">
         {dede:pagelist listitem="index,end,pre,next" listsize="5"/}
          <br class="clear">
        </div>
        <br class="clear">
      </div>
      <br class="clear">
    </div>
    <br class="clear">
  </div>
  <br class="clear">
</div>
{dede:include filename="m__footer.htm"/}
</body>
</html>
